## Process this file with automake to produce Makefile.in
AM_CXXFLAGS = -Wall -Werror -pedantic-errors

bin_PROGRAMS = gearmedula

gearmedula_SOURCES = 						\
	Main.cc							\
	Monitor.cc Monitor.hh					\
	Control.cc Control.hh					\
	Serial.hh						\
	SerialBala.cc SerialBala.hh				\
	SerialSuperBala.cc SerialSuperBala.hh			\
	Matrix.cc Matrix.hh					\
	XError.cc XError.hh					\
	CommLineArgs.cc CommLineArgs.hh				\
	Display.cc Display.hh					\
	GEARMedula.cc GEARMedula.hh				\
	GMServer.cc GMServer.hh					\
	Thread.cc Thread.hh					\
	Services.cc Services.hh

gearmedula_CPPFLAGS =				\
	-I$(top_srcdir)/lib/simulation		\
	-I$(top_srcdir)/lib/rpc

gearmedula_LDADD = 						\
	$(top_builddir)/lib/simulation/libgearmedulasim.a	\
	$(top_builddir)/lib/simulation/chipmunk/libchipmunk.a	\
	$(top_builddir)/lib/rpc/libgearmedularpc.la		\
	$(PTHREAD_LIBS)						\
	$(NCURSES_LIBS)
